package com.net.xpay.sync.client;


public interface SyncEventHandler {

    void handleUpdateEvent(CanalSyncContext context);

    void handleInsertEvent(CanalSyncContext context);

    void handleDeleteEvent(CanalSyncContext context);


    /**
     * @return 订阅的库表正则
     */
    String getSubscribeRegex();

    /**
     * @return 目标表的表前缀 可为空
     */
    String tablePrefix();
}
